home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 17842 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.4 KB

  1. Path: uxh.cso.uiuc.edu!p-kumar
  2. From: kumar prashant <p-kumar@uxh.cso.uiuc.edu>
  3. Newsgroups: comp.lang.c++
  4. Subject: QUESTION ABOUT COMPILING TEMPLATES
  5. Date: Wed, 17 Apr 1996 14:47:14 -0500
  6. Organization: University of Illinois at Urbana
  7. Message-ID: <Pine.CVX.3.91.960417144233.15632A-100000@uxh.cso.uiuc.edu>
  8. NNTP-Posting-Host: uxh.cso.uiuc.edu
  9. Mime-Version: 1.0
  10. Content-Type: TEXT/PLAIN; charset=US-ASCII
  11.  
  12. Hi 
  13.  
  14.     I'm using a template for a doubly linked list. The template is 
  15. defined in a file called Dlist.c which is included in other files. 
  16.  
  17.     All my object files are compiled OK but I get the following error 
  18. in linking
  19.  
  20. CC[ptlink] fatal error: type DList defined twice in map files
  21. *** Error code 1 (bu21)
  22.  
  23. I'm using the C++ compiler on an SGI. Can somebody shed some light on it.
  24.  
  25. Thanks in advance
  26. Prashant
  27.  
  28.                                   \|||/  
  29.                                  ( O-O ) 
  30. ---*-------------*----------.ooo0--(_)-0ooo.------*------------*-------
  31.  
  32.       PRASHANT KUMAR            URL <http://orion.me.uiuc.edu/~p-kumar>
  33.  
  34. Off : 348 CSRL, Mech & Ind Engg                Res: 203 S.Sixth St.#101
  35.       Urbana, IL 61801                              Champaign, IL 61820
  36.       (217) 333-2850          .oooO                 (217) 398-1232 
  37.                               (   )   Oooo.                     
  38. ---*--------------*------------\ (----(   )-------*------------*-------
  39.                                 \_)    ) /
  40.                                       (_/ 
  41.  
  42.